
 
 D C . i n s e r t W i t h i n ( d o m E l e m e n t O r C S S S e l e c t o r ,   o b j e c t K e y V a l u e M a p ) 
 
 
 
 D e s c r i p t i o n :   I n s e r t s   D C . w r a p p e r   w i t h i n   a   D O M   e l e m e n t   o r   C S S   s e l e c t o r   r e f e r e n c e d   e l e m e n t . 
 
 
 
 R e t u r n s :   D C   O b j e c t . 
 
 
 
 N o t e :   B e f o r e   D C . w r a p p e r   i s   i n s e r t e d   w i t h i n   t h e   t a r g e t   e l e m e n t ,   a l l   p r e e x i s t i n g   c o n t e n t   w i l l   b e   c l e a n e d   a n d   r e m o v e d   t o   p r e v e n t   m e m o r y   l e a k s .   T h e   o b j e c t K e y V a l u e M a p   m a y   i n c l u d e   o p t i o n a l   D C   o b j e c t   d e c l a r a t i o n   o v e r r i d e s   t h a t   w i l l   b e   a p p l i e d   t o   t h e   D C   o b j e c t   p r i o r   t o   r e n d e r i n g . 
 
 
 
 E x a m p l e : 
 
 
 
 / /   I n s e r t   D C . w r a p p e r   w i t h i n   a   D O M   e l e m e n t . 
 
 D C . i n s e r t W i t h i n ( d o m E l e m e n t ) ; 
 
 
 
 / /   I n s e r t   D C . w r a p p e r   w i t h i n   o n e   e l e m e n t   r e f e r e n c e d   b y   a   C S S   s e l e c t o r . 
 
 D C . i n s e r t W i t h i n ( " # t a r g e t E l e m e n t I d " ) ; 
 
 
 
 / /   I n s e r t   D C . w r a p p e r   w i t h i n   a   D O M   e l e m e n t   a n d   i n c l u d e   D C   A P I   o v e r r i d e s . 
 
 D C . i n s e r t W i t h i n ( d o m E l e m e n t ,   { 
 
     / /   D e c l a r a t i v e   D C   A P I   p r o p e r t i e s   a n d   m e t h o d s . 
 
 } ) ; 
 
 